package command;

import org.uc3m.ed.Factory.panel.FactoriaPanel;
import org.uc3m.ed.implementacion.Command;
import org.uc3m.ed.interfaz_grafica.ventana.PanelDibujo;
import org.uc3m.ed.tad.arbol.ArbolBinarioAVL;

public class CommandCrearAVL implements Command {

	@Override
	public void execute() {
		PanelDibujo panel =FactoriaPanel.metodoFactoria();
		
		panel.initPilaComandos();
		panel.setEstructura(new ArbolBinarioAVL<Integer,Integer>());
		panel.repaint();
		

	}

}
